#include <iostream>
using namespace std;

void fun() {
    throw true;
    cout << "hello" << endl;
}
int main() {
    try {
        fun();
    } catch (...) {
        cout << "捕获到异常" << endl;
    }
    cout << "world" << endl;
    return 0;
}